package com.lifesea.dao.mybatis;

import com.lifesea.model.HisGhorder;
import com.lifesea.model.HisGhorderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HisGhorderMapper {
    int countByExample(HisGhorderExample example);

    int deleteByExample(HisGhorderExample example);

    int deleteByPrimaryKey(Long bookId);

    int insert(HisGhorder record);

    int insertSelective(HisGhorder record);

    List<HisGhorder> selectByExample(HisGhorderExample example);

    HisGhorder selectByPrimaryKey(Long bookId);

    int updateByExampleSelective(@Param("record") HisGhorder record, @Param("example") HisGhorderExample example);

    int updateByExample(@Param("record") HisGhorder record, @Param("example") HisGhorderExample example);

    int updateByPrimaryKeySelective(HisGhorder record);

    int updateByPrimaryKey(HisGhorder record);
}